-
Notifications
You must be signed in to change notification settings - Fork 18
feat (theme) : get minified editor-style if production env #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@Rahe poke :) |
inc/services/theme.php
Outdated
| $file = 'editor-style.css'; | ||
|
|
||
| if ( ! defined( 'SCRIPT_DEBUG' ) || SCRIPT_DEBUG === false ) { | ||
| $file = Framework::get_container()->get_service('assets')->get_min_file( 'editor-style.css' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marchera pas si on modifie pas de le get_min_file pour gérer le cas "editor-style".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Rahe Pas compris ta phrase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il faut impacter la fonction get_min_file aussi :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah oui bien vu, un oubli ^^
|
@Rahe Fixed, good pour toi ? |
|
Faut que je teste la PR ^^ |
|
J'ai corrigé/ajusté les fonctions utilisées :) |
|
Vu, merci. Je merge ;) |
No description provided.